package com.tb.mapper;

import com.tb.pojo.NatureValue;
import com.tb.pojo.NatureValueExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface NatureValueMapper {
    long countByExample(NatureValueExample example);

    int deleteByExample(NatureValueExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(NatureValue record);

    //增加
    int insertSelective(NatureValue record);

    List<NatureValue> selectByExample(NatureValueExample example);

    NatureValue selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") NatureValue record, @Param("example") NatureValueExample example);

    int updateByExample(@Param("record") NatureValue record, @Param("example") NatureValueExample example);

    int updateByPrimaryKeySelective(NatureValue record);

    int updateByPrimaryKey(NatureValue record);
}